package com.chinasoft.back.service;

import com.chinasoft.back.pojo.Result;
import com.chinasoft.back.pojo.User;

import java.util.List;

/**
 * @author 中软zhang
 * @create 2023-08-28 14:08
 */
public interface UserService {
    Result<String> login(User user);

    User queryByName(String userName);

    List<User> queryByPage(int pageNum, int pageSize);
}
